package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 挂售
 * </p>
 *
 * @author jj
 * @since 2019-12-11
 */
@TableName("yingbao_sys_sell")
public class SysSell implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 挂售用户id
     */
    @TableField("buyer_userid")
    private Long buyerUserid;

    /**
     * 买方用户id
     */
    @TableField("seller_userid")
    private Long sellerUserid;

    /**
     * 挂售单号
     */
    @TableField("ordinal")
    private String ordinal;

    /**
     * 价格
     */
    @TableField("price")
    private Long price;

    /**
     * 合约类别
     */
    @TableField("contract_type")
    private Integer contractType;

    /**
     * 支付方式
     */
    @TableField("pay_type")
    private Integer payType;

    /**
     * 挂售状态
     */
    @TableField("stuats")
    private String stuats;
    /**
     * 收款凭证
     */
    @TableField("sell_details")
    private String sellDetails;
    /**
     * 支付凭证
     */
    @TableField("pay_details")
    private String payDetails;
    /**
     * 支付时间
     */
    @TableField("pay_time")
    private Date payTime;
    /**
     * 确认收货时间
     */
    @TableField("affirm_time")
    private Date affirmTime;
    /**
     * 申诉成功时间
     */
    @TableField("appeal_success_time")
    private Date appealSuccessTime;
    /**
     * 付款备注
     */
    @TableField("pay_remark")
    private String payRemark;
    /**
     * 申诉备注
     */
    @TableField("appeal_remark")
    private String appealRemark;
    /**
     * 申诉成功备注
     */
    @TableField("appeal_success_remark")
    private String appealSuccessRemark;
    /**
     * 申诉手机号
     */
    @TableField("phone" )
    private Long phone;
    /**
     * 申诉标题
     */
    @TableField("title" )
    private String title;
    /**
     * 申诉上传凭证
     */
    @TableField("complain_details" )
    private String complainDetails;
    /**
     * 挂售时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 购买时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 申诉时间
     */
    @TableField("appeal_time")
    private Date appealTime;

    @TableField("standby1")
    private String standby1;

    @TableField("standby2")
    private String standby2;

    @TableField("standby3")
    private String standby3;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getComplainDetails() {
        return complainDetails;
    }

    public void setComplainDetails(String complainDetails) {
        this.complainDetails = complainDetails;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBuyerUserid() {
        return buyerUserid;
    }

    public void setBuyerUserid(Long buyerUserid) {
        this.buyerUserid = buyerUserid;
    }

    public Long getSellerUserid() {
        return sellerUserid;
    }

    public void setSellerUserid(Long sellerUserid) {
        this.sellerUserid = sellerUserid;
    }

    public String getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(String ordinal) {
        this.ordinal = ordinal;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Integer getContractType() {
        return contractType;
    }

    public String getSellDetails() {
        return sellDetails;
    }

    public void setSellDetails(String sellDetails) {
        this.sellDetails = sellDetails;
    }

    public String getPayDetails() {
        return payDetails;
    }

    public void setPayDetails(String payDetails) {
        this.payDetails = payDetails;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getAffirmTime() {
        return affirmTime;
    }

    public void setAffirmTime(Date affirmTime) {
        this.affirmTime = affirmTime;
    }

    public Date getAppealSuccessTime() {
        return appealSuccessTime;
    }

    public void setAppealSuccessTime(Date appealSuccessTime) {
        this.appealSuccessTime = appealSuccessTime;
    }

    public String getPayRemark() {
        return payRemark;
    }

    public void setPayRemark(String payRemark) {
        this.payRemark = payRemark;
    }

    public String getAppealRemark() {
        return appealRemark;
    }

    public void setAppealRemark(String appealRemark) {
        this.appealRemark = appealRemark;
    }

    public String getAppealSuccessRemark() {
        return appealSuccessRemark;
    }

    public void setAppealSuccessRemark(String appealSuccessRemark) {
        this.appealSuccessRemark = appealSuccessRemark;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getStuats() {
        return stuats;
    }

    public void setStuats(String stuats) {
        this.stuats = stuats;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getAppealTime() {
        return appealTime;
    }

    public void setAppealTime(Date appealTime) {
        this.appealTime = appealTime;
    }

    public String getStandby1() {
        return standby1;
    }

    public void setStandby1(String standby1) {
        this.standby1 = standby1;
    }

    public String getStandby2() {
        return standby2;
    }

    public void setStandby2(String standby2) {
        this.standby2 = standby2;
    }

    public String getStandby3() {
        return standby3;
    }

    public void setStandby3(String standby3) {
        this.standby3 = standby3;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "SysSell{" +
        "id=" + id +
        ", buyerUserid=" + buyerUserid +
        ", sellerUserid=" + sellerUserid +
        ", ordinal=" + ordinal +
        ", price=" + price +
        ", contractType=" + contractType +
        ", payType=" + payType +
        ", stuats=" + stuats +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", appealTime=" + appealTime +
        ", standby1=" + standby1 +
        ", standby2=" + standby2 +
        ", standby3=" + standby3 +
        ", version=" + version +
        "}";
    }
}
